package com.cennavi.bigdata.baotou.listener;



import javax.servlet.ServletContext;

/**
 * Created by zuoweiguang on 2016/9/6.
 */
public class TimerTask extends java.util.TimerTask {

    private ServletContext context = null;
    private int param;
    private String threadType;
    private int requestType;
    public TimerTask(ServletContext context, String threadType, int requestType) {
        this.context = context;
        this.threadType = threadType;
        this.requestType = requestType;
    }

    @Override
    public void run() {

//        if (threadType.equals("traffic")) {
//            //开始执行 [交通路况] 定時任务
////            PoolManager.pool.execute(new TrafficWorkThread());
//        }

    }

}
